package test

import (
	"gitee.com/zaper/service-config-client/client/listen/flush"
)

type Register struct{}

func NewRegister() *Register {
	return &Register{}
}

func (register *Register) GetDBFlushConfig() *flush.FlushModel {
	return &flush.FlushModel{
		FileName: "db.properties",
		FilePath: "E:\\Other",
	}
}

func (register *Register) RedisFlushConfig() *flush.FlushModel {
	return &flush.FlushModel{
		FileName: "redis.properties",
		FilePath: "E:\\Other",
	}
}

func (register *Register) OtherFlushConfig() *flush.FlushModel {
	return &flush.FlushModel{
		FileName: "other.properties",
		FilePath: "E:\\Other",
	}
}
